OUTPUT_PATH = output

out: test.o crc.o
	gcc -g ${OUTPUT_PATH}/crc.o ${OUTPUT_PATH}/test.o -o ${OUTPUT_PATH}/out

crc.o: crc.c
	gcc -o ${OUTPUT_PATH}/crc.o -c -g crc.c

test.o: test.c
	gcc -o ${OUTPUT_PATH}/test.o -c -g test.c

clean:
	rm *.o *.exe